#ifndef _COMMONMACRO_H_
#define _COMMONMACRO_H_

#define SAFE_DELETE(p) do { delete p; p=NULL; } while(false)
#define SAFE_FREE(p) do { free(p); p = NULL; } while (false)

#endif 
